#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main()
{
	int a = 0;
	while (1)
	{
		for (a = 0; 1 == a; a--)
		{
			scanf("%d", &a);
			printf("*");
		}
		printf("\n");
	}
	return 0;
}